<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="layout" content="mainApp" />
	<g:javascript src="../tiny_mce/tiny_mce.js"/>
	<script type="text/javascript" src="${resource(dir: 'js', file: 'comentario.js')}"></script>
</head>

<body>

	<g:form id="formMubbia" name="formMubbia" controller="nuevaMubbia" action="unirseAMubbia">
		<g:hiddenField name="mubbiaId" id="mubbiaId" value="${mubbiaInstance?.id }"/>
		  <div class="row">
		  	<div class="span10">
				<g:render template="contenidoMubbia"></g:render>
				<hr/>
				<g:render template="comentarios" model="['comentarios':mubbiaInstance?.comentarios]"></g:render>
				<g:render template="comentario"></g:render>
			</div>
			<div class="span2 noMargin marginLeft5 sideBarMubbia">
				<g:render template="sideBarMubbia" model="['mubbiaInstance':mubbiaInstance, 'usuarioLogueado':usuarioLogueado]"></g:render>
			</div>
		  </div>
	</g:form>

</body>
</html>